﻿using HySoft.Cash.Business;
using HySoft.Cash.Structure;
using System;
using System.Web.UI;

public class OpeCommon : Page
{
    public bool AddUptReport(int EmpSid, string pEffectedCode, int OrgSid)
    {
        TuptreportBN tbn = new TuptreportBN(this.Page);
        TuptreportDT detail = new TuptreportDT();
        detail.EmpSid = EmpSid;
        detail.UptDate = DateTime.Now.ToString("dd-MM-yyyy hh:mm:ss");
        detail.EffectedCode = pEffectedCode;
        detail.OrgSid = OrgSid;
        bool flag = tbn.Add(detail);
        tbn.Dispose();
        tbn = null;
        return flag;
    }
}

